package com.james.customcamera.contract;

import com.james.customcamera.bean.HomeBean;
import com.james.customcamera.bean.PhotoBean;

import java.util.List;

/**
 * Created by James on 2018/2/9 0009.
 */

public class HomeContract {
    public interface HomeView {
        void loadPhotos(HomeBean result);

        void loadMorePhotos(HomeBean result);

        void refreshPhotos(List<PhotoBean> result);

        void loadNoMorePhotos(List<PhotoBean> result);
    }

    public interface HomePresenter {
        void getPhotos(int page);

        void refreshPhotos(int page);

        void loadMorePhotos(int page);
    }
}
